﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"	
    xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.ClientApplication"
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.ClientApplication;assembly=BrainTechLLC.Silverlight.HigherLevelControls"
    xmlns:local2="clr-namespace:BrainTechLLC.Silverlight.InputControls2;assembly=BrainTechLLC.Silverlight.InputControls2"
    xmlns:z="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"
	x:Class="BrainTechLLC.Silverlight.ClientApplication.Controls.QuickMasterControlPanel">
    <Grid x:Name="LayoutRoot2" Width="Auto" Height="Auto">
        <Button Content="Control Panel" Width="Auto" HorizontalAlignment="Right" Name="btnControlPanel" Click="btnControlPanel_Click"></Button>
        <Popup Name="popup" Margin="0,20,0,0">
            <Border BorderBrush="Black" BorderThickness="1,1,1,1" Width="240">
                <Grid Width="Auto" Height="Auto" HorizontalAlignment="Stretch">
                    <StackPanel Orientation="Vertical">
                        <Button Canvas.ZIndex="8" FontFamily="Verdana" Background="LightGray" Style="{StaticResource ButtonStyle2}" Content="Save World" Click="btnSave_Click" Name="btnSave" />
                        <TextBox ScrollViewer.VerticalScrollBarVisibility="Auto" Width="Auto" HorizontalAlignment="Stretch" Height="60" Name="txtNotification"
                             TextWrapping="Wrap" IsReadOnly="True"></TextBox>
                        <local:AddThing Name="addThing" Width="Auto" HorizontalAlignment="Stretch" Height="20" VerticalAlignment="Top"></local:AddThing>
                        <local:DownloadData Name="downloadData" 
                                            RequestComplete="DownloadData_RequestComplete"
                                            Width="Auto" HorizontalAlignment="Stretch" Height="20" VerticalAlignment="Top"></local:DownloadData>
                        <Button Name="btnUpload" Content="Upload" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="Auto" Click="btnUpload_Click"></Button>
                        <loc:DebugPanel Name="debugPanel" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Top" />
                    </StackPanel>
                </Grid>
            </Border>
        </Popup>
    </Grid>
</UserControl>